/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.yandex.skipasssystem;

import ua.yandex.skipasssystem.skipass.SkiPass;

/**
 *
 * @author Mitya
 */
public class SkiPassTurnstile {

    private final SkiPassSystem skiPassSystem;

    public SkiPassTurnstile(SkiPassSystem skiPassSystem) {
        this.skiPassSystem = skiPassSystem;
    }

    public boolean checkSkiPass(SkiPass skiPass) {

        return skiPassSystem.checkSkiPass(skiPass);

    }

}
